<?php
namespace app\admin\controller;
use think\facade\Db;
use think\facade\View;

class Brand
{
    public function brandList()
    {
        $list=Db::name('brand')->select()->toArray();
        View::assign('list',$list);
        return view();
    }
}